package com.wicket.okrcomponent.biz.service.dto.common;

import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc AgreedNavigationSortingDatasetDto
 * @使用场景
 */
@Data
public class AgreedNavigationSortingDatasetDto
  extends BaseDto
  implements Serializable {

  /**
   * 菜单编码
   */
  @ApiModelProperty("菜单编码")
  private String menuCode;

  /**
   * 菜单排序
   */
  @ApiModelProperty("菜单排序")
  private String menuOrderNumber;
/**
     * 自定义字段1 
     */
    @ApiModelProperty("自定义字段1")
    private String	 customField1;

    /**
     * 自定义字段2 
     */
    @ApiModelProperty("自定义字段2")
    private String	 customField2;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      AgreedNavigationSortingDatasetDto that = (AgreedNavigationSortingDatasetDto) o;
      return  menuCode == that.menuCode&&menuOrderNumber == that.menuOrderNumber&&customField1 == that.customField1&&customField2 == that.customField2;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), menuCode,menuOrderNumber,customField1,customField2);
    }

}
